package demo4;

import javax.xml.namespace.QName;

public abstract class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }

    void eat(){
        System.out.println(this.name+" 正在吃饭...");
    }
}
